package com.chen.ssm.dao;

import com.chen.ssm.entity.User;

import java.util.List;


public interface IUserDao {

    User login(User user);

    User selectByPrimaryKey(Integer id);

    List<User> getUserList(User user);

    Integer getCount(User user);

    User getUserByName(String username);

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);


}